/*************************************************
* Copyright(c) free                              *
* Beijing Jiaotong University                    *
* TEAM: Wasabi                                   *
* AUTHOR: Li Wei          			 *
* This file is the head of the callbacks.c       * 
* Version 1.0 2011-01-6                          *
*************************************************/

#ifndef __CALLBACKS_H__
#define __CALLBACKS_H__

gboolean on_window_delete_event (GtkWidget * widget,
		 gpointer data);

//void on_file_select_ok(GtkWidget *button, GtkFileSelection *fs);

void on_button2_clicked (GtkWidget * buttun, gpointer data);

void on_button4_clicked (GtkWidget * buttun);
void on_button1_clicked (GtkWidget * buttun, gpointer data);
void on_button3_clicked (GtkWidget * buttun, gpointer data);
void on_radio_clicked (GtkWidget *radio, gint data);
void on_radio2_clicked (GtkWidget *radio, gint data);
void on_file_open_activate (GtkMenuItem *menuitem,gpointer data);
void on_file_save_activate (GtkMenuItem *menuitem,gpointer data);
void on_file_exit_activate (GtkMenuItem *menuitem,gpointer data);

void on_zhuyin_activate (GtkMenuItem *menuitem,gpointer data);
void on_reset_activate (GtkMenuItem *menuitem,gpointer data);
void on_fwd_activate (GtkMenuItem *menuitem,gpointer data);
void on_back_activate (GtkMenuItem *menuitem,gpointer data);
void on_v_view_activate (GtkMenuItem *menuitem,gpointer data);
void on_h_view_activate (GtkMenuItem *menuitem,gpointer data);
void on_man_activate (GtkMenuItem *menuitem,gpointer data);
void on_about_activate (GtkMenuItem *menuitem,gpointer data);


void zhuyin (gpointer data);

//void buffer1_length(GtkTextBuffer *buf)
#endif
